package com.starlink.model.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.starlink.common.domain.BaseEntity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author zhanghong
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@TableName("user_vip_set")
public class UserVipSetDO extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    /** VIP金额 */
    @TableField("amount")
    private BigDecimal amount;
    /** 时效类型 1：永久有效 2：自定义时限 */
    @TableField("time_limit")
    private Integer timeLimit;
    /** 年限 单位：年 */
    @TableField("number_of_years")
    private Integer numberOfYears;
}
